<!DOCTYPE html>
<html>
<body>
<form action="checkbox_handler.jsp" method="POST">
    <input type="checkbox" name="maths" checked="checked"/> Maths
    <input type="checkbox" name="physics"/> Physics
    <input type="checkbox" name="chemistry" checked="checked"/>
    Chemistry
    <input type="submit" value="Select Subject"/>
</form>
</body>
</html>